Ryan Lortie [Mon, 7 Jul 2014 18:32:10 +0000 (14:32 -0400)]
GtkAppliation: setup icon theme resource path
If we have a resource base path for the application, set up an icon
theme search path based on it (within the default icon theme).
https://bugzilla.gnome.org/show_bug.cgi?id=722092
Ryan Lortie [Fri, 4 Jul 2014 13:44:12 +0000 (09:44 -0400)]
GtkApplication: use resources for loading menus
Use the new ::resource-base-path property on #GApplication to attempt to
load the menu layout of the application.
We look first at gtk/menus-appmenu.ui or gtk/menus-traditional.ui
depending on the setting of gtk_application_prefers_app_menu(). Failing
that, we fall back to the common case of gtk/menus.ui (which should
always be given). This provides a convenient way for application
authors to provide a different set of menus, depending on the desktop
environment they find themselves in.
As is the intention with other resources, if the resource base path is
unset, nothing will be loaded. Additionally, if the expected files are not
found, it is not an error -- just nothing happens.
https://bugzilla.gnome.org/show_bug.cgi?id=722092
Matthias Clasen [Mon, 7 Jul 2014 18:33:25 +0000 (14:33 -0400)]
widget-factory: Add reorderable treeview columns
Lapo Calamandrei [Mon, 7 Jul 2014 18:32:16 +0000 (20:32 +0200)]
Adwaita: fix selection mode toolbar
Selection menu button still needs fixing
Piotr Drąg [Mon, 7 Jul 2014 18:10:10 +0000 (20:10 +0200)]
Updated POTFILES.skip
Piotr Drąg [Mon, 7 Jul 2014 18:08:04 +0000 (20:08 +0200)]
Updated POTFILES.in and POTFILES.skip
Benjamin Otte [Mon, 7 Jul 2014 18:05:56 +0000 (20:05 +0200)]
reftests: Add a reftest for 'animation-direction'
It tests the latest two commits.
Benjamin Otte [Mon, 7 Jul 2014 18:04:34 +0000 (20:04 +0200)]
cssanimation: Fix animation-direction handling
"alternate" was behaving as "alternate-reverse" and vice versa.
Benjamin Otte [Mon, 7 Jul 2014 17:44:59 +0000 (19:44 +0200)]
css: Fix animation-direction parsing
We were parsig "alternate-reverse" as "alternate" and then complaining
about the "-reverse" junk at the end of the value.
Benjamin Otte [Mon, 7 Jul 2014 17:42:59 +0000 (19:42 +0200)]
clipboard: Fix compiler warning
Cast the type.
Benjamin Otte [Mon, 7 Jul 2014 17:41:21 +0000 (19:41 +0200)]
textview: Fix compiler warning
No need to use braces anymore.
Lapo Calamandrei [Mon, 7 Jul 2014 17:51:27 +0000 (19:51 +0200)]
Adwaita: non csd message dialog and entry shadow fix
Made the non csd message dialog more similar to the csd one (to
match the csd one we need mutter theme changes), little shadow fix
for entry.
Ryan Lortie [Thu, 3 Jul 2014 00:35:49 +0000 (20:35 -0400)]
bloatpad: use resources
https://bugzilla.gnome.org/show_bug.cgi?id=722092
Ryan Lortie [Mon, 30 Jun 2014 21:13:05 +0000 (17:13 -0400)]
bloatpad: move into private subdir
Move bloatpad to ./examples/bp/ so that we can start treating it as more of a
"normal" app instead of just jamming everything into a single .c file.
We don't use the name "bloatpad" for the directory in order not to
create 'git pull' pain with the probably-already-existing executable of
the same name.
https://bugzilla.gnome.org/show_bug.cgi?id=722092
Lapo Calamandrei [Mon, 7 Jul 2014 15:56:29 +0000 (17:56 +0200)]
Adwaita: csd message dialog fixes.
Lighter shadow like popovers and bigger radius then buttons on
the background to avoid antialiasing artifacts.
Lapo Calamandrei [Mon, 7 Jul 2014 15:44:01 +0000 (17:44 +0200)]
Adwaita: .grid-child 2px padding
Lapo Calamandrei [Mon, 7 Jul 2014 15:21:52 +0000 (17:21 +0200)]
Adwaita: entry shadows work.
For the transition to work the box-shadows types in the shadow list
needs to be matched in various states so I'm using transparent shadows
istead of resetting them when not needed.
Yuri Myasoedov [Mon, 7 Jul 2014 13:05:15 +0000 (17:05 +0400)]
Updated Russian translation
Lapo Calamandrei [Mon, 7 Jul 2014 12:26:58 +0000 (14:26 +0200)]
Adwaita: minor sass changes.
Made _button_border_color($c) mixin in _button_border($c) fuction.
Benjamin Otte [Mon, 7 Jul 2014 12:25:08 +0000 (14:25 +0200)]
testsuite: Add parser test for recent fix
The test doesn't crash without the fix, but it parses the CSS
incorrectly and fails.
Benjamin Otte [Mon, 7 Jul 2014 11:09:30 +0000 (13:09 +0200)]
css: Don't special-case fill-mode in 'animation'
I have no idea why it was special cased when parsing the 'animation'
shorthand, but it caused crashes.
So remove the special case.
Lapo Calamandrei [Mon, 7 Jul 2014 12:17:51 +0000 (14:17 +0200)]
Adwaita: style .subtitle like .dim-label
Lapo Calamandrei [Mon, 7 Jul 2014 12:04:37 +0000 (14:04 +0200)]
Adwaita: use opacity on dim-labels istead of a hack
Lapo Calamandrei [Mon, 7 Jul 2014 11:30:24 +0000 (13:30 +0200)]
Adwaita: .dim-label
Jakub Steiner [Mon, 7 Jul 2014 11:26:09 +0000 (13:26 +0200)]
Adwaita: flat OSD style
Lapo Calamandrei [Mon, 7 Jul 2014 09:45:13 +0000 (11:45 +0200)]
Adwaita: fix combos and buttons padding issues.
For some strage reason (bug?) combobox buttons needs -2px vertical padding
wrt buttons to have the same size as buttons.
Matthias Clasen [Mon, 7 Jul 2014 03:10:44 +0000 (23:10 -0400)]
widget-factory: Fill out settings dialog
This gives an opportunity to use the dim-label style class.
Matthias Clasen [Sun, 6 Jul 2014 20:53:37 +0000 (16:53 -0400)]
GtkWindow: Elaborate the keybindings
Keep Ctrol-Shift-D as a straight toggle-the-inspector keybinding,
but make Ctrl-Shift-I always bring up the inspector, and point
it at the widget under the pointer.
Matthias Clasen [Sun, 6 Jul 2014 21:03:53 +0000 (17:03 -0400)]
GtkInspector: Add a function to select the widget under the pointer
Matthias Clasen [Sun, 6 Jul 2014 16:18:09 +0000 (12:18 -0400)]
GtkInspector: Add a style tab
This tab shows css properties of a widget, and their origin.
Matthias Clasen [Sun, 6 Jul 2014 16:16:26 +0000 (12:16 -0400)]
GtkCssProvider: Allow to enable debug at runtime
Add a private function that lets us decide at runtime whether to
keep css section information around - this will be useful in the
GtkInspector.
Matthias Clasen [Sun, 6 Jul 2014 20:51:29 +0000 (16:51 -0400)]
Drop a leftover declaration
This was left behind when resize grips were removed.
Matthias Clasen [Sun, 6 Jul 2014 16:16:06 +0000 (12:16 -0400)]
Trivial rearrangement
Matthias Clasen [Sun, 6 Jul 2014 22:37:29 +0000 (18:37 -0400)]
widget-factory: Avoid a crash on exit
Aurimas Černius [Sat, 5 Jul 2014 19:47:04 +0000 (22:47 +0300)]
Updated Lithuanian translation
Lapo Calamandrei [Sat, 5 Jul 2014 16:18:44 +0000 (18:18 +0200)]
Adwaita: message dialog, destructive and suggested action buttons.
...and generic linked destructive and suggested action button fix.
Lapo Calamandrei [Sat, 5 Jul 2014 14:30:43 +0000 (16:30 +0200)]
Adwaita: proper message dialog style.
Rounded bottom border added, custom style for csd versione only
[read: non csd version looks right now].
Yuri Myasoedov [Sat, 5 Jul 2014 07:10:02 +0000 (11:10 +0400)]
Updated Russian translation
Matthias Clasen [Fri, 4 Jul 2014 23:06:08 +0000 (19:06 -0400)]
GtkHeaderBar: Use defines for style classes
Matthias Clasen [Fri, 4 Jul 2014 22:13:56 +0000 (18:13 -0400)]
Add defines for title style classes
Matthias Clasen [Fri, 4 Jul 2014 20:49:55 +0000 (16:49 -0400)]
widget-factory: Add some mnemonics
Matthias Clasen [Fri, 4 Jul 2014 20:27:11 +0000 (16:27 -0400)]
widget-factory: Unset needs-attention too
This is not done automatically, so unset needs-attention when
the page becomes current.
Matthias Clasen [Fri, 4 Jul 2014 19:46:47 +0000 (15:46 -0400)]
widget-factory: show off needs-attention stack pages
When clicking 'Action' in the 'Act' dialog, we mark the third
page as needing attention a second later. This unveils that we
currently don't have any theming for needs-attention in Adwaita.
Matthias Clasen [Fri, 4 Jul 2014 06:01:53 +0000 (02:01 -0400)]
GdkScreen: Set reasonable limis for ::resolution
Otherwise, the spinbutton in the inspectors property editor
explodes in order to make room for MAXDOUBLE.
Matthias Clasen [Fri, 4 Jul 2014 05:06:31 +0000 (01:06 -0400)]
GtkScaleButton: Try harder not to pop over
When the popover does fit in the window, change the orientation
to make it fit.
Matthias Clasen [Thu, 3 Jul 2014 19:24:58 +0000 (15:24 -0400)]
Drop has-resize-grip from the notify test
The setter is not doing anything, so we won't get notification.
Matthias Clasen [Thu, 3 Jul 2014 19:23:34 +0000 (15:23 -0400)]
GtkWindow: Update default for has-default-grip
It is now FALSE.
Matthias Clasen [Thu, 3 Jul 2014 19:22:39 +0000 (15:22 -0400)]
disable runtime warnings in the defaultvalue test
This test operates generically on all properties, so warning
about deprecated properties does not make sense here.
Jasper St. Pierre [Thu, 3 Jul 2014 17:20:38 +0000 (13:20 -0400)]
wayland: Add some dumb support for the TARGETS selection
The way that GtkTextView et al pop up their context menu is to first
query to see if the clipboard has some text, and if so, enable the Paste
menu item. But since the Wayland backend hasn't had the greatest
selection and clipboard code, the callback for the clipboard got dropped
on the floor.
Add some simple code to respond to the TARGETS selection.
This makes right-clicking on a GtkTextView work fine.
Jasper St. Pierre [Wed, 2 Jul 2014 15:00:02 +0000 (11:00 -0400)]
gtkwindow: Remove resize grips
Resize grips were introduced for GNOME 3.0, before we had any of the
"new GNOME app" features like invisible borders and CSD. With OS X 10.6
and 10.7, Apple has replaced the classic grips in their applications
with invisible borders as well.
New GNOME app designs don't use resize grips anymore and the new
default theme for GTK+, Adwaita, disables them entirely by forcing their
width and height to 0.
They're past their time. Remove the code to support them. This can
always be reverted if some app relies on them.
Jasper St. Pierre [Thu, 3 Jul 2014 15:48:28 +0000 (11:48 -0400)]
gdkwindow: Don't queue a redraw when calling gdk_window_raise with no effect
The resize grip code in GTK+ likes to call gdk_window_raise a lot. The
unfortunate side effect of gdk_window_raise is that it queues an
invalidation on the entire window, even if it's already the topmost
child.
Add a return value to gdk_window_raise_internal, and only queue the
invalidation if the raise had an effect.
Jasper St. Pierre [Thu, 3 Jul 2014 15:48:24 +0000 (11:48 -0400)]
gdkwindow: Apply the 0x0 size bump to 1x1 before checking for the bail
Otherwise, a user that calls gdk_window_resize (window, 0, 0); over and
over won't properly fizzle out, and will queue a redraw. Clipped, but
still. These redraws can be chatty on some platforms like Wayland, and
there's no good reason to not avoid them.
This was the case for resize grips.
Jasper St. Pierre [Thu, 3 Jul 2014 14:55:31 +0000 (10:55 -0400)]
gtkwindow: Fix compile warnings
Sébastien Wilmet [Thu, 3 Jul 2014 12:08:14 +0000 (14:08 +0200)]
docs: make GtkWidget:margin-start and margin-end clearer
margin-start and margin-end have been added for RTL support, see:
https://bugzilla.gnome.org/show_bug.cgi?id=710238
So those properties are used only for the horizontal direction: left or
right, not top or bottom.
https://bugzilla.gnome.org/show_bug.cgi?id=732681
Matthias Clasen [Thu, 3 Jul 2014 12:34:02 +0000 (08:34 -0400)]
GtkSettings: fully undeprecate blink settings
We decided in
f8412eca34be6e2e655ad3e09bd97fa2bdcbdae0 that
we still need to react to these for a11y reasons, but left
the (then) harmless property deprecation in place. Now, the
deprecation causes runtime warnings for merely reading the
property, so drop it.
https://bugzilla.gnome.org/show_bug.cgi?id=732667
Sébastien Wilmet [Fri, 16 May 2014 19:14:53 +0000 (21:14 +0200)]
doc: trivial fix
Matthias Clasen [Thu, 3 Jul 2014 12:12:56 +0000 (08:12 -0400)]
win32: fix the build
A recent cleanup gone wrong,
https://bugzilla.gnome.org/show_bug.cgi?id=732454
Lapo Calamandrei [Thu, 3 Jul 2014 11:19:11 +0000 (13:19 +0200)]
Adwaita: some more notebook work...
...to try to make tab with close buttons to look better.
Jakub Steiner [Thu, 3 Jul 2014 10:37:48 +0000 (12:37 +0200)]
Adwaita: selection-mode selection-menu flat by default
Lapo Calamandrei [Thu, 3 Jul 2014 10:29:25 +0000 (12:29 +0200)]
Adwaita: style entry.warning and entry.error
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=724084
Lapo Calamandrei [Thu, 3 Jul 2014 09:01:31 +0000 (11:01 +0200)]
Adwaita: sidebar scrollbar fix.
.scrollbars-junction borders were removed by setting border-stylei: none,
it interacted (why?) with the scrollbars on sidebar, making the border
transparent seems not to have side effects there.
Lapo Calamandrei [Thu, 3 Jul 2014 08:30:14 +0000 (10:30 +0200)]
Adwaita: style progressbars in treeview cells.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732298
Lapo Calamandrei [Thu, 3 Jul 2014 07:31:51 +0000 (09:31 +0200)]
Adwaita: add transition to non flat popover buttons.
Matthias Clasen [Thu, 3 Jul 2014 03:55:20 +0000 (23:55 -0400)]
widget-factory: Expand the treeview example a bit
Show resizable, sortable and ellipsizable columns.
Matthias Clasen [Thu, 3 Jul 2014 02:52:10 +0000 (22:52 -0400)]
inspector: Handle the dialog more carefully
When showing and hiding the inspector window repeatedly without
dismissing the dialog, we were hiding the inspector, but not
the dialog, leading to a confusing user experience.
https://bugzilla.gnome.org/show_bug.cgi?id=732443
Matthias Clasen [Thu, 3 Jul 2014 00:37:55 +0000 (20:37 -0400)]
GtkRange: Animate scrollbar jumps
Matthias Clasen [Thu, 3 Jul 2014 00:36:41 +0000 (20:36 -0400)]
GtkListBox: Animate keybindings
Matthias Clasen [Thu, 3 Jul 2014 00:36:23 +0000 (20:36 -0400)]
GtkIconView: Animate keybindings
Matthias Clasen [Thu, 3 Jul 2014 00:35:14 +0000 (20:35 -0400)]
GtkTreeView: Animate keybindings
Matthias Clasen [Thu, 3 Jul 2014 00:31:42 +0000 (20:31 -0400)]
GtkTextView: Animate keybindings
Matthias Clasen [Thu, 3 Jul 2014 00:26:43 +0000 (20:26 -0400)]
GtkScrolledWindow: Animate the scroll-child keybinding
Matthias Clasen [Wed, 2 Jul 2014 21:55:20 +0000 (17:55 -0400)]
GktAdjustment: Add explicit api for animated setting
Making all set_value calls animated has side-effects, so
we need to be more selective.
Ryan Lortie [Mon, 30 Jun 2014 16:16:19 +0000 (12:16 -0400)]
Add gtk_application_prefers_app_menu()
Applications can call this to determine if they should an app menu.
This will be %FALSE on desktop environments that do not have an
application menu like the one in gnome-shell. It is %FALSE on Windows
and Mac OS.
Applications are completely free to totally ignore this API -- it is
only provided as a hint to help applications that may be interested in
supporting non-GNOME platforms with a more native 'look and feel'.
https://bugzilla.gnome.org/show_bug.cgi?id=722092
Matthias Clasen [Wed, 2 Jul 2014 21:17:48 +0000 (17:17 -0400)]
testsuite: Adapt to changed builtin icon paths
Matthias Clasen [Wed, 2 Jul 2014 19:12:46 +0000 (15:12 -0400)]
GtkModelButton: Update widget state
We were only setting the state transiently in ::draw, leading
to various drawing anomalies, such as labels not picking up
the appropriate color from BUTTON styles.
Benjamin Otte [Wed, 2 Jul 2014 17:47:48 +0000 (19:47 +0200)]
cssimageicontheme: Handle scale factors correctly
Code didn't account for the pixbuf returned being scaled.
Carlos Garnacho [Wed, 2 Jul 2014 13:35:07 +0000 (15:35 +0200)]
entry: Do not unset selection if failing to update the primary selection
This is expected to happen on wayland and other platforms with no primary selection,
and just leads to the selected text being cleared after any attempt to change the
text selection itself through either mouse/keyboard.
Carlos Garnacho [Wed, 2 Jul 2014 13:28:45 +0000 (15:28 +0200)]
textbuffer: Do not unset selection if failing to update the primary selection
This is expected to happen on wayland and other platforms with no primary selection,
and just leads to the selected text being cleared after any attempt to change the
text selection itself through either mouse/keyboard.
Lapo Calamandrei [Wed, 2 Jul 2014 15:52:36 +0000 (17:52 +0200)]
Adwaita: fix Gedit style tabs color.
I also introduced a gab between tabs as in the mockups.
Lapo Calamandrei [Wed, 2 Jul 2014 15:27:12 +0000 (17:27 +0200)]
Adwaita: fix popover buttons.
Unfortunatelly labels doesn't change color wrt states.
See https://bugzilla.gnome.org/show_bug.cgi?id=732494
Lapo Calamandrei [Wed, 2 Jul 2014 13:45:43 +0000 (15:45 +0200)]
Adwaita: proper backdrop state for gtkcalendar header
Matthias Clasen [Wed, 2 Jul 2014 04:33:46 +0000 (00:33 -0400)]
GtkDialog: fix invisible action area
When there area explicitly added buttons in the action area,
we were trying to ensure that the action area is visible,
but failed, since we are now hiding the action_box. Fix it
by showing the action_box when things are left in the action
area.
Jasper St. Pierre [Tue, 1 Jul 2014 19:16:12 +0000 (15:16 -0400)]
wayland: Make sure to notify the capability settings when we get capabilities
Otherwise, we won't notice when we get capabilities, and we'll show app
menus, etc.
Matej Urbančič [Tue, 1 Jul 2014 17:55:47 +0000 (19:55 +0200)]
Updated Slovenian translation
Jakub Steiner [Tue, 1 Jul 2014 15:46:24 +0000 (17:46 +0200)]
Adwaita: transition :active buttons faster than the other states
https://bugzilla.gnome.org/show_bug.cgi?id=732134
Jakub Steiner [Tue, 1 Jul 2014 13:42:32 +0000 (15:42 +0200)]
Adwaita: no border-right on treeview-derived widgets
I fear to be opening a can of worms, but it does seem like
something the system theme should deal with.
https://bugzilla.gnome.org/show_bug.cgi?id=731463
Jakub Steiner [Tue, 1 Jul 2014 12:22:54 +0000 (14:22 +0200)]
improve Calendar styling
slightly
https://bugzilla.gnome.org/show_bug.cgi?id=729620
Nikita Churaev [Mon, 23 Jun 2014 18:42:21 +0000 (22:42 +0400)]
Remove separators from GtkFileChooserButton and GtkFontButton
https://bugzilla.gnome.org/show_bug.cgi?id=722633
Chun-wei Fan [Tue, 1 Jul 2014 08:41:41 +0000 (16:41 +0800)]
Fix "Installation" for Visual Studio 2010+
We need to enclose paths containing $(BinDir) with double quotes as it
points to something like c:\foo\gtk+-x.yy.zz, which the copy command on
Windows does not like "+" in paths unless enclosed in quotes.
Chun-wei Fan [Tue, 1 Jul 2014 08:17:43 +0000 (16:17 +0800)]
Build: Provide Simple Support for MSVC 2012/2013
As the Visual Studio 2012/2013 are only slightly different from the Visual
Studio 2010 projects, we can provide support for them by using scripts to
copy the Visual Studio 2010 projects, and update the specific parts as
necessary.
Thus, there would be little maintenance overhead for these as only the 2010
projects need to be kept up-to-date as a result. This might change when we
do get the stack working with WinRT/Metro, but that's going to be another
totally different issue.
Chun-wei Fan [Tue, 1 Jul 2014 07:52:34 +0000 (15:52 +0800)]
Revert "Visual Studio Builds: "Install" the Stock Icons"
The stock icons are now built into the GTK+ DLL via resources, so don't
try to install the stock icons, and the icons don't reside in their former
positions anymore, causing messages indicating that the files cannot be
found.
This reverts commit
2e0ce67f8aa7da0cfbcf31e02e60012927fb4193.
Chun-wei Fan [Tue, 1 Jul 2014 05:26:18 +0000 (13:26 +0800)]
MSVC Builds: Fix Introspection Builds
Commit
e26bdbda only partially made the necessary changes due to the use of
the deprecated headers in GDK. Fix that.
Chun-wei Fan [Tue, 1 Jul 2014 05:15:51 +0000 (13:15 +0800)]
MSVC Builds: Clean up Introspection Builds
Since g-i 1.40.0 we are using the .lib file(s) to determine the DLL(s) that
the introspection files should look for, instead of directly using the
DLL(s) directly, so it is no longer necessary to make copies of the GDK
.lib file to match the <namespace-name>-<namespace-version> convention when
we are building the introspection files for GdkWin32. Remove that from the
introspection build process as a result.
Gergely POLONKAI [Sun, 29 Jun 2014 16:36:00 +0000 (16:36 +0000)]
Typo fix in GTK+ common questions
https://bugzilla.gnome.org/show_bug.cgi?id=732433
Matthias Clasen [Tue, 1 Jul 2014 01:51:19 +0000 (21:51 -0400)]
GtkMessageDialog: Add back the empty csd title
We don't set use-header-bar for message dialogs, since we
want the buttons in the action area, but we do want a nice
rounded csd titlebar. Add back the box that was used before
to achieve this, when appropriate.
Matthias Clasen [Mon, 30 Jun 2014 23:26:44 +0000 (19:26 -0400)]
GtkDialog: Don't use csd when use-header-bar is FALSE
https://bugzilla.gnome.org/show_bug.cgi?id=730893
Lars Uebernickel [Wed, 28 May 2014 15:32:21 +0000 (17:32 +0200)]
gtkaboutdialog: support showing buttons in action area
Give GtkAboutDialog buttons in the action area instead of hard-coding
use-header-bar to TRUE. This is for environments which don't have the
Gtk/DialogsUseHeader xsetting turned on.
https://bugzilla.gnome.org/show_bug.cgi?id=730893
Matthias Clasen [Mon, 30 Jun 2014 22:51:39 +0000 (18:51 -0400)]
inspector: Use a better icon on the css classes tab
Matthias Clasen [Mon, 30 Jun 2014 22:12:39 +0000 (18:12 -0400)]
GtkScrolledWindow: Enable animated scrolling
We use gtk_adjustment_enable_animation to enable animated
updates of the adjustments. Currently, this is enabled
unconditionally, and with a duration that is hardcoded.
https://bugzilla.gnome.org/show_bug.cgi?id=732376
Matthias Clasen [Mon, 30 Jun 2014 22:09:50 +0000 (18:09 -0400)]
GtkAdjustment: Animated updates
Add a private API that lets widget opt-in to animated updates of
the adjustment value. When enabled, all calls to
gtk_adjustment_set_value will smoothly transition from the old
value to the new value, using a fixed easing function and a
configurable duration. The animation is tied to the frame clock
of the widget.
By implementing this in GtkAdjustment, we can enable animation
for both scrollbars and keybindings, which are often implemented
in the child widget of the scrolled window.
https://bugzilla.gnome.org/show_bug.cgi?id=732376